package com.echo.boot.enumeration;

/**
 * Created with IntelliJ IDEA
 * Created By CQ
 * Date: 2020/7/3
 * Time: 20:36
 */
public class Main {
    public static void main(String[] args) {
//        System.out.println("6 + 2 = " + Operation.PLUS.calculate(6, 3));
//        System.out.println("6 - 2 = " + Operation.MINUS.calculate(6, 2));
//        System.out.println("6 * 2 = " + Operation.TIMES.calculate(6, 2));
//        System.out.println("6 / 2 = " + Operation.DIVIDE.calculate(6, 2));
//        System.out.println(Operation.MINUS.getName());

        String str = "tableName";

        String subStr = "set" + str.substring(0, 1).toUpperCase() + str.substring(1);

        System.out.println(subStr);
    }
}
